﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvanceLib.ClassExtensions
{
    public static class ObjectExtensions
    {
        public static TClass Clone<TClass>(this object source)
        {
            return (TClass)Activator.CreateInstance(source.GetType());
        }
    }
}
